package com.phcx.corporate.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
@TableName("biz_record")
public class BizRecord {
  @TableId("biz_id")
  private String bizId;
  @TableField("biz_type")
  private String bizType;
  @TableField("admin_id")
  private String adminId;
  @TableField("username")
  private String username;
  @TableField("licence_18")
  private String licence18;
  @TableField("licence_13")
  private String licence13;
  @TableField("log_date")
  private String logDate;

  public void setBizType(String bizType) {
    if(bizType.equals("1")){
      this.bizType = "打印企业码";
    }
  }

}